﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DesignPattern.行为型模式.StatePattern
{
    public class WorkOrderContent
    {

        public WoState State { get; set; }

        public WorkOrderContent(WoState aStage)
        {
            State = aStage;
        }

        public void Request()
        {
            State.Handle(this);
        }
    }
}
